static void
wr_init(const char *fname) {
char *dot, *slash;
+ static char valid_chars [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789"
+ ".-/\\~@#$%^&*()_+=<>"
+ "abcdefghijklmnopqrstuvwxyz";
ofname = xstrdup(fname);
slash = strrchr(ofname, GB_PATHSEP);
if (dot > slash) *dot = 0;
- static char valid_chars [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789"
- ".-/\\~@#$%^&*()_+=<>"
- "abcdefghijklmnopqrstuvwxyz";
-
mkshort_handle = mkshort_new_handle();
setshort_length(mkshort_handle, 19);
setshort_goodchars(mkshort_handle, valid_chars);
static void
bushnell_write_one(const waypoint *wpt) {
+ gbint32 lat = wpt->latitude * 10000000.0;
+ gbint32 lon = wpt->longitude * 10000000.0;
trkpt_count++;
if (trkpt_count > 4502)
fatal(MYNAME " too many trackpoints. Max is 4502.");
- gbint32 lat = wpt->latitude * 10000000.0;
- gbint32 lon = wpt->longitude * 10000000.0;
gbfputint32(lat, file_out);
gbfputint32(lon, file_out);
}
waypoint *wpt, *lastwpt=NULL;
double long_old,lat_old;
char tbuffer[64];
+ struct tm tm2;
long_old=0;lat_old=0;
strftime(routename,sizeof(routename),"Tracklog %c",localtime(&tx));
- struct tm tm2;
route = route_head_alloc();
route->rte_name=xstrdup(routename);
ObjectFile=".\Release/"\r
ProgramDataBaseFileName=".\Release/"\r
WarningLevel="3"\r
- WarnAsError="true"\r
+ WarnAsError="false"\r
SuppressStartupBanner="true"\r
DebugInformationFormat="3"\r
CompileAs="0"\r
+ ErrorReporting="1"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
RelativePath="..\brauniger_iq.c"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\bushnell.c"\r
+ >\r
+ </File>\r
+ <File\r
+ <File\r
+ RelativePath="..\bushnell_trl.c"\r
+ >\r
+ </File>\r
+ <File\r
<File\r
RelativePath="..\cet.c"\r
>\r
/>\r
</FileConfiguration>\r
</File>\r
+ <File\r
+ RelativePath="..\enigma.c"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\exif.c"\r
>\r
RelativePath="..\itracku.c"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\jogmap.c"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\jtr.c"\r
>\r
RelativePath="..\pdbfile.c"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\pocketfms_wp.c"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\pocketfms_bc.c"\r
>\r
RelativePath="..\skyforce.c"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\skytraq.c"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\smplrout.c"\r
>\r
RelativePath="..\tef_xml.c"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\teletype.c"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\text.c"\r
>\r
RelativePath="..\wfff_xml.c"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\wintec_tes.c"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\xcsv.c"\r
>\r
RelativePath="..\defs.h"\r
>\r
</File>\r
- <File\r
- RelativePath="..\defs.h"\r
- >\r
- </File>\r
<File\r
RelativePath="..\filterdefs.h"\r
>\r
</File>\r
<File\r
- RelativePath="..\garmin_device_xml.h.h"\r
+ RelativePath="..\garmin_device_xml.h"\r
>\r
</File>\r
<File\r